menubutton: Clear references in dispose, not finalize
authorJasper St. Pierre <jstpierre@mecheye.net>
Sun, 29 Jul 2012 16:43:26 +0000 (13:43 -0300)
committerJasper St. Pierre <jstpierre@mecheye.net>
Tue, 31 Jul 2012 15:09:05 +0000 (12:09 -0300)
commit844e793246f4f0b31ee3dcebc64fffc058c576e1
tree50d04001b9160b3602592ce96efed40958590884
parentb936666b52bc07bb7ad9349f10f6849744ffb59d
menubutton: Clear references in dispose, not finalize

We need to do this here so that an explicit gtk_widget_destroy
on either the widget or a container that holds it will kill the
reference to the menu or model.

https://bugzilla.gnome.org/show_bug.cgi?id=680803
gtk/gtkmenubutton.c